package com.ny.dao;

import com.ny.entity.Student;

import java.sql.SQLException;

public interface StudentDao {
    //    添加
    int add(Student student) throws SQLException;
    //    登录
    Student login(String studentName, String studentPassword) throws SQLException;

    int updatePassword(String studentName, String oldPassword, String newPassword) throws SQLException;


}
